adb-install-error

1
2
3
4
5
6
Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: /data/app/vmdl718805446.tmp/11_youle_v__________ version code 7 inconsistent with 8.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

failure-install-failed-invalid-apk

1
I was getting this in Android Studio and all I did to fix it was go to "Build" > "Clean Project" and it just worked.